package com.nbst.model.mes;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * 
 * @ClassName:SubcInEntry
 * @Description:工序委外接收单表体
 * @author Ycy
 * @date 2018-10-29
 *
 */
public class SubcInEntry extends OrderBy {
	/**
	 * 行号
	 */
	private Integer fIndex;

	/**
	 * 工序号
	 */
	private Integer fOperSN;

	/**
	 * 工序名称内码
	 */
	private Integer fOperID;

	/**
	 * 是否最后一道工序
	 */
	private Integer fIsLastOp;

	/**
	 * 接收数量
	 */
	private Double fReceiveQty;

	/**
	 * 合格数量
	 */
	private Double fPassQty;

	/**
	 * 单价
	 */
	private Double fUnitPrice;

	/**
	 * 生产任务单号
	 */
	private Integer fIcomEntryId;

	/**
	 * 产品代码
	 */
	private Integer fItemID;

	/**
	 * 产品名称
	 */
	private String fName;

	/**
	 * 产品代码
	 */
	private String fNumber;

	/**
	 * 单位
	 */
	private Integer fUnitID;

	/**
	 * 批号
	 */
	private String fBatchNo;

	/**
	 * 删除标志 0删除
	 */
	private Integer fClosed;

	private Integer fEntryID;

	private Integer fInterID;

	/** 工序委外转出id */
	private Integer fSubcOutId;

	/** 工序委外转出分录id */
	private Integer fSubcOutEntryId;

	/** 是否拒收 0否 1是 */
	private Integer fIsRejected;

	/** 质检状态 0未质检 1已质检 */
	private Integer fQcStatus;

	/** 仓库审核数量 */
	private Double fStockCheckQty;

	/** 仓库审核人 */
	private Integer fStockCheckId;

	/** 仓库审核人 */
	private String fStockChecker;

	/** 仓库审核时间 */
	private Date fStockCheckDate;

	/** 供应商 */
	private String fSupplierName;

	/** 接收者 */
	private String fWorkerName;

	/** 单位 */
	private String fUnit;

	/** 工序 */
	private String fOperName;

	/** 规格 */
	private String fModel;
	
	/**接收日期*/
	private Date fDate;
	
	/**委外转出单号*/
	private String fSubcOutNo;
	
	/**生产任务单号*/
	private String fBillNo;
	
	/**工序流转卡id*/
	private Integer fCardId;
	
	/**工废数*/
	private Double fAuxQtyScrap;
	
	/**料废数*/
	private Double fAuxQtyForItem;
	
	/**次品数*/
	private Double fOthQty;

	public Integer getfEntryID() {
		return fEntryID;
	}

	public void setfEntryID(Integer fEntryID) {
		this.fEntryID = fEntryID;
	}

	public Integer getfInterID() {
		return fInterID;
	}

	public void setfInterID(Integer fInterID) {
		this.fInterID = fInterID;
	}

	public Integer getfIndex() {
		return fIndex;
	}

	public void setfIndex(Integer fIndex) {
		this.fIndex = fIndex;
	}

	public Integer getfOperSN() {
		return fOperSN;
	}

	public void setfOperSN(Integer fOperSN) {
		this.fOperSN = fOperSN;
	}

	public Integer getfOperID() {
		return fOperID;
	}

	public void setfOperID(Integer fOperID) {
		this.fOperID = fOperID;
	}

	public Integer getfIsLastOp() {
		return fIsLastOp;
	}

	public void setfIsLastOp(Integer fIsLastOp) {
		this.fIsLastOp = fIsLastOp;
	}

	public Double getfReceiveQty() {
		return fReceiveQty;
	}

	public void setfReceiveQty(Double fReceiveQty) {
		this.fReceiveQty = fReceiveQty;
	}

	public Double getfPassQty() {
		return fPassQty;
	}

	public void setfPassQty(Double fPassQty) {
		this.fPassQty = fPassQty;
	}

	public Double getfUnitPrice() {
		return fUnitPrice;
	}

	public void setfUnitPrice(Double fUnitPrice) {
		this.fUnitPrice = fUnitPrice;
	}

	public Integer getfIcomEntryId() {
		return fIcomEntryId;
	}

	public void setfIcomEntryId(Integer fIcomEntryId) {
		this.fIcomEntryId = fIcomEntryId;
	}

	public Integer getfItemID() {
		return fItemID;
	}

	public void setfItemID(Integer fItemID) {
		this.fItemID = fItemID;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber == null ? null : fNumber.trim();
	}

	public Integer getfUnitID() {
		return fUnitID;
	}

	public void setfUnitID(Integer fUnitID) {
		this.fUnitID = fUnitID;
	}

	public String getfBatchNo() {
		return fBatchNo;
	}

	public void setfBatchNo(String fBatchNo) {
		this.fBatchNo = fBatchNo == null ? null : fBatchNo.trim();
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Integer getfSubcOutId() {
		return fSubcOutId;
	}

	public void setfSubcOutId(Integer fSubcOutId) {
		this.fSubcOutId = fSubcOutId;
	}

	public Integer getfSubcOutEntryId() {
		return fSubcOutEntryId;
	}

	public void setfSubcOutEntryId(Integer fSubcOutEntryId) {
		this.fSubcOutEntryId = fSubcOutEntryId;
	}

	public Integer getfIsRejected() {
		return fIsRejected;
	}

	public void setfIsRejected(Integer fIsRejected) {
		this.fIsRejected = fIsRejected;
	}

	public Integer getfQcStatus() {
		return fQcStatus;
	}

	public void setfQcStatus(Integer fQcStatus) {
		this.fQcStatus = fQcStatus;
	}

	public Double getfStockCheckQty() {
		return fStockCheckQty;
	}

	public void setfStockCheckQty(Double fStockCheckQty) {
		this.fStockCheckQty = fStockCheckQty;
	}

	public Integer getfStockCheckId() {
		return fStockCheckId;
	}

	public void setfStockCheckId(Integer fStockCheckId) {
		this.fStockCheckId = fStockCheckId;
	}

	public Date getfStockCheckDate() {
		return fStockCheckDate;
	}

	public void setfStockCheckDate(Date date) {
		this.fStockCheckDate = date;
	}

	public String getfStockChecker() {
		return fStockChecker;
	}

	public void setfStockChecker(String fStockChecker) {
		this.fStockChecker = fStockChecker;
	}

	public String getfSupplierName() {
		return fSupplierName;
	}

	public void setfSupplierName(String fSupplierName) {
		this.fSupplierName = fSupplierName;
	}

	public String getfWorkerName() {
		return fWorkerName;
	}

	public void setfWorkerName(String fWorkerName) {
		this.fWorkerName = fWorkerName;
	}

	public String getfUnit() {
		return fUnit;
	}

	public void setfUnit(String fUnit) {
		this.fUnit = fUnit;
	}

	public String getfOperName() {
		return fOperName;
	}

	public void setfOperName(String fOperName) {
		this.fOperName = fOperName;
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public String getfSubcOutNo() {
		return fSubcOutNo;
	}

	public void setfSubcOutNo(String fSubcOutNo) {
		this.fSubcOutNo = fSubcOutNo;
	}

	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo;
	}

	public Integer getfCardId() {
		return fCardId;
	}

	public void setfCardId(Integer fCardId) {
		this.fCardId = fCardId;
	}

	public Double getfAuxQtyScrap() {
		return fAuxQtyScrap;
	}

	public void setfAuxQtyScrap(Double fAuxQtyScrap) {
		this.fAuxQtyScrap = fAuxQtyScrap;
	}

	public Double getfAuxQtyForItem() {
		return fAuxQtyForItem;
	}

	public void setfAuxQtyForItem(Double fAuxQtyForItem) {
		this.fAuxQtyForItem = fAuxQtyForItem;
	}

	public Double getfOthQty() {
		return fOthQty;
	}

	public void setfOthQty(Double fOthQty) {
		this.fOthQty = fOthQty;
	}

	@Override
	public String toString() {
		return "SubcInEntry [fIndex=" + fIndex + ", fOperSN=" + fOperSN + ", fOperID=" + fOperID + ", fIsLastOp="
				+ fIsLastOp + ", fReceiveQty=" + fReceiveQty + ", fPassQty=" + fPassQty + ", fUnitPrice=" + fUnitPrice
				+ ", fIcomEntryId=" + fIcomEntryId + ", fItemID=" + fItemID + ", fName=" + fName + ", fNumber="
				+ fNumber + ", fUnitID=" + fUnitID + ", fBatchNo=" + fBatchNo + ", fClosed=" + fClosed + ", fEntryID="
				+ fEntryID + ", fInterID=" + fInterID + ", fSubcOutId=" + fSubcOutId + ", fSubcOutEntryId="
				+ fSubcOutEntryId + ", fIsRejected=" + fIsRejected + ", fQcStatus=" + fQcStatus + ", fStockCheckQty="
				+ fStockCheckQty + ", fStockCheckId=" + fStockCheckId + ", fStockChecker=" + fStockChecker
				+ ", fStockCheckDate=" + fStockCheckDate + ", fSupplierName=" + fSupplierName + ", fWorkerName="
				+ fWorkerName + ", fUnit=" + fUnit + ", fOperName=" + fOperName + ", fModel=" + fModel + ", fDate="
				+ fDate + ", fSubcOutNo=" + fSubcOutNo + ", fBillNo=" + fBillNo + ", fCardId=" + fCardId
				+ ", fAuxQtyScrap=" + fAuxQtyScrap + ", fAuxQtyForItem=" + fAuxQtyForItem + ", fOthQty=" + fOthQty
				+ "]";
	}

}